package com.liaowei.novel.domain;

import java.util.Date;

public class Bookshelf {
    private Integer id; // id
    private Integer userId; // 用户id
    private Integer novelId; // 小说id
    private Date createTime; // 创建时间


    public Bookshelf() {
    }

    public Bookshelf(Integer id, Integer userId, Integer novelId, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.novelId = novelId;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNovelId() {
        return novelId;
    }

    public void setNovelId(Integer novelId) {
        this.novelId = novelId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
